﻿@model GameSchoolApplication.Models.Person

@{
    ViewBag.Title = "Eyða";
	Layout = "~/Views/Shared/_AdministratorLayout.cshtml";
}
<section id="SingleMainContent">
<h2>Eyða aðila</h2>

<h3>Ertu viss um að þú viljir eyða öllum upplýsingum um þennan aðila?</h3>
<fieldset>
    <legend></legend>

    <div class="display-label">Nafn:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div><br />

    <div class="display-label">Netfang:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div><br />

    <div class="display-label">Hópur</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Group)
    </div><br />

    <div class="display-label">Notendanafn:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserName)
    </div><br />
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Eyða" /> |
        @Html.ActionLink("Til baka í lista", "Index")
    </p>
}
</section>